<template>
  <div id="centerRight2">
    <div class="bg-color-black">
      <div class="d-flex pt-2 pl-2">
        <span style="color:#5cd9e8">
          <icon name="align-left"></icon>
        </span>
        <span class="fs-xl text mx-2">泊位利用率分析</span>
      </div>
      <div class="d-flex jc-center body-box" style=" margin-top: 0;">
        <dv-capsule-chart :config="config" style="width: 100%;height:2rem" />
<!--        <centerRight2Chart1 />-->
          <div class="d-flex pt-2 pl-2">
        <span style="color:#5cd9e8">
          <icon name="align-left"></icon>
        </span>
            <span class="fs-xl text mx-2">泊位当前使用率</span>
          </div>
        <div class="water">
        <dv-water-level-pond :config="water" style="width:3.2rem;height: 1.5rem" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
// import centerRight2Chart1 from "@/components/echart/centerRight/centerRightChart";

export default {
  data() {
    return {
      water: {
        data: [50, 72],
        shape: "roundRect",
        formatter: "{value}%",
        waveNum: 2
      },
      config: {
        data: [
          {
            name: "江北区",
            value: 90
          },
          {
            name: "九龙坡",
            value: 72
          },
          {
            name: "南岸区",
            value: 80
          },
          {
            name: "渝北区",
            value: 60
          },
          {
            name: "巴南区",
            value: 70
          }
        ]
      }
    };
  },
  // components: { centerRight2Chart1 },
  mounted() {},
  methods: {}
};
</script>

<style lang="scss" scoped>
#centerRight2 {
  padding: 0.0625rem;
  height: 5rem;
  min-width: 3.75rem;
  border-radius: 0.0625rem;
  .bg-color-black {
    padding: 0.0625rem;
    height: 5.0625rem;
    border-radius: 0.125rem;
  }
  .text {
    color: #c3cbde;
  }
  .body-box {
    border-radius: 0.125rem;
    overflow: hidden;
  }
  .water{
    margin: 20px auto;
    width:3.2rem;
    height:1.8rem;
  }
}
</style>
